<template>
    <div>
        <el-menu router mode="horizontal" default-active="1">
            <el-menu-item index="/user/wddd1/dpdd">当前订单</el-menu-item>
            <el-menu-item index="/user/wddd1/lsdd">历史订单</el-menu-item>
        </el-menu>
        <el-main>
            <router-view />
        </el-main>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.el-menu {
    margin-top: 0;
}

.el-menu-item {
    font-size: 17px;
    cursor: pointer;
    color: #000;
}

.el-menu-item.is-active {
    color: #ff4655;
    border-bottom: 2px solid red;
}
</style>